#include "testplugin.h"
#include <qplugin.h>
#include <QPushButton>

Q_EXPORT_PLUGIN2(test-plugin, TestPlugin)

QString TestPlugin::name() const
{
    return "Test plugin";
}

QString TestPlugin::description() const
{
    return "Test plugin description";
}

QIcon TestPlugin::icon() const
{
    return QIcon(":/images/export-32.png");
}

QWidget *TestPlugin::widget()
{
    QPushButton *btn = new QPushButton("Press me:)");
    return btn;
}





